package com.coder.qa.client.impl;

import com.coder.qa.client.BaseClient;
import entity.Result;
import entity.StatusCode;
import org.springframework.stereotype.Component;

/**
 * @BelongsProject:coder_parent
 * @BelongsPackage:com.coder.qa.client.impl
 * @Author:linchong
 * @CreateTime:2019-01-27 19:09
 * @Description: 服务调用接口的实现，用来处理雪崩问题
 */
@Component
public class BaseClientImpl implements BaseClient {
    @Override
    public Result findById(String labelId) {
        return new Result(false, StatusCode.ERROR,"触发了熔断器");
    }
}
